<template>
  <el-card class="box-card">
    <div slot="header" class="clearfix">
      <span>{{ title }}</span>
      <el-button
        v-if="url"
        class="qf-r qf-create-btn"
        type="primary"
        round
        @click="jump(url)"
        >{{ btnTitle }}</el-button
      >
    </div>

    <slot></slot>
  </el-card>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true,
    },
    url: {
      type: String,
    },
    btnTitle: {
      type: String,
    },
  },
};
</script>

<style></style>
